package com.smartleanx.module.hrm.dal.dataobject.salary;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author mybatis-plus
 * @since 2024-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hrm_salary_plan")
public class HrmSalaryPlan extends Model<HrmSalaryPlan> {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 薪资组名称
     */
    private String name;

    /**
     * 计税规则id
     */
    private Integer taxationId;

    /**
     * 月计薪标准
     */
    private Integer monthlySalaryStandard;

    /**
     * 1、按转正日期/调薪生效日期前后的工资混合计算
     * 2、整月按转正/调薪后的工资计算
     * 3、 15号前(含)转正/调薪整月按转正/调薪前计算，15号后转正/调薪整月按转正/调薪后计算
     */
    private Integer salaryAdjustmentRules;


    /**
     * 更新时间
     */
    private String updateTime;

    @TableField(exist = false)
    private List<Integer> employeeIds;


}
